package com.lixia.lxframework.rbac.dao;

import com.lixia.lxframework.rbac.domain.SysLogin;
import com.lixia.lxframework.rbac.domain.SysLoginExample;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface SysLoginMapper {
    long countByExample(SysLoginExample example);

    int deleteByExample(SysLoginExample example);

    int deleteByPrimaryKey(String userId);

    int insert(SysLogin record);

    int insertSelective(SysLogin record);

    List<SysLogin> selectByExample(SysLoginExample example);

    SysLogin selectByPrimaryKey(String userId);

    int updateByExampleSelective(@Param("record") SysLogin record, @Param("example") SysLoginExample example);

    int updateByExample(@Param("record") SysLogin record, @Param("example") SysLoginExample example);

    int updateByPrimaryKeySelective(SysLogin record);

    int updateByPrimaryKey(SysLogin record);
}